<template>
	<view>
		<view class="vip-img">
			<image :src="imglink + 'member/Institutions_image_titleintroduction.png'" mode=""></image>
		</view>
		<view class="vip-buy-content">
			<view class="vip-level-buy">
				<view class="vip-introduce" style="margin-bottom: 30upx;">
					<view class="vip-introduce-title">1.VIP会员介绍</view>
					<image :src="imglink + 'organization/active_background_img.png'" mode=""></image>
					<view class="vip-introduce-content">
						我是文字我是文字我是文字我是文字我是文字我是文字我是文字
					</view>
				</view>
				<view class="vip-introduce" style="margin-bottom: 30upx;">
					<view class="vip-introduce-title">1.VIP会员介绍</view>
					<image :src="imglink + 'organization/active_background_img.png'" mode=""></image>
					<view class="vip-introduce-content">
						我是文字我是文字我是文字我是文字我是文字我是文字我是文字
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				imglink: this.$store.state.imgLink,
				store_id:''
			}
		},
		onLoad(options) {
			let store_id = parseInt(options.store_id,10);
			console.log('进入了onload 获取url的store_id',store_id)
			if(!store_id > 0){
				store_id = uni.getStorageSync('store_id')?parseInt(uni.getStorageSync('store_id'),10):0
			}else{
				uni.setStorageSync('store_id', store_id)
			}
			
			this.store_id = parseInt(store_id,10)
			this.$store.commit('updateStoreId',store_id)
		},
	}
</script>

<style>
	page{
		background: linear-gradient(#F86C49,#F99466);
		padding-bottom: 20upx;
		box-sizing: border-box;
	}
	.vip-img,.vip-img>image{
		width: 100%;
		height: 218upx;
	}
	.vip-level-buy{
		width: 100%;
		padding: 30upx 20upx;
		box-sizing: border-box;
		background: #FFFFFF;
		border: 4upx solid #FFDC34;
		border-radius: 20upx;
		box-shadow: 0 4upx 22upx 0 rgba(248, 41, 45, 0.39);
	}
	.vip-buy-content{
		padding: 0 30upx;
		box-sizing: border-box;
	}
	.vip-introduce-title{
		color: #333333;
		font-size: 30upx;
	}
	.vip-introduce>image{
		width: 100%;
		height: 366upx;
		margin: 20upx 0;
	}
	.vip-introduce-content{
		color: #333333;
		font-size: 28upx;
	}
</style>
